package com.cswnode.demo.enums;

/**
 * @author csw
 * @create 2021/1/26 14:53
 */

public enum YesOrNoEnum {
    /**
     *  Y
     */
    YES("Y","是"),
    /**
     * N
     */
    NO("N","否");

    private String code;
    private String name;

    YesOrNoEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
